<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once APPLICATION_PATH . '/models/Single/BaseEntity.php';
require_once   APPLICATION_PATH . '/models/Mapper/TiposDocumentosMapper.php';
require_once APPLICATION_PATH . '/models/DbTable/Tipos_Documentos.php';

/**
 * Description of TipoDocumento
 *
 * @author kristian
 */
class Spalm_Model_Single_TipoDocumentoEntity extends Spalm_Model_Single_BaseEntity{
    protected $_nombre;
    protected $_sigla;

    public function  __construct() {
        $this->setMapper(new Spalm_Model_Mapper_TiposDocumentosMapper(new Spalm_Model_DbTable_Tipos_Documentos()));
    }

    public function setSigla($sigla){
        $this->_sigla = $sigla;
    }
    public function getSigla(){
        return $this->_sigla;
    }

    public function setNombre($nombre){
        $this->_nombre = $nombre;
    }
    public function getNombre(){
        return $this->_nombre;
    }

    public function isRemovable() {
        $salida = true;

        /*
         * consultas
         */


        /*
         * evaluaciones
         */


        return $salida;
    }
}
?>
